package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 患者随访对象 patient_followup
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("患者随访-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "patient_followup")
public class PatientFollowupEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 医生主键
	 */
	@ApiModelProperty("医生主键")
	private Long doctorId;

	/**
	 * 患者主键
	 */
	@ApiModelProperty("患者主键")
	private Long patientId;

	/**
	 * 随访内容
	 */
	@ApiModelProperty("随访内容")
	private String followContent;

	/**
	 * 随访状态, 0 患者未响应 1 患者已响应
	 */
	@ApiModelProperty("随访状态, 0 患者未响应 1 患者已响应")
	private String followState;

	/**
	 * 随访时间
	 */
	@ApiModelProperty("随访时间")
	private Date followTime;

}
